package ar.org.cfired.creditos.guias;

public class TipoRespuesta {
	private int tre_id;
	private String tre_descripcion;
	private String tre_tabla_destino;
	private boolean tre_es_tabla;
	private boolean tre_es_choice;

	public void setTreId (int tre_id) {
		this.tre_id = tre_id;
	}
	public int getTreId() {
		return (this.tre_id);
	}

	public void setTreDescripcion (String tre_descripcion) {
		if (tre_descripcion != null)
			this.tre_descripcion = tre_descripcion.substring(0, Math.min(255, tre_descripcion.length()));
		else
			this.tre_descripcion = new String();
	}
	public String getTreDescripcion() {
		return (this.tre_descripcion);
	}

	public void setTreTablaDestino (String tre_tabla_destino) {
		if (tre_tabla_destino != null)
			this.tre_tabla_destino = tre_tabla_destino.substring(0, Math.min(50, tre_tabla_destino.length()));
		else
			this.tre_tabla_destino = new String();
	}
	public String getTreTablaDestino() {
		return (this.tre_tabla_destino);
	}

	public void setTreEsTabla (boolean tre_es_tabla) {
		this.tre_es_tabla = tre_es_tabla;
	}
	public boolean getTreEsTabla() {
		return (this.tre_es_tabla);
	}

	public void setTreEsChoice (boolean tre_es_choice) {
		this.tre_es_choice = tre_es_choice;
	}
	public boolean getTreEsChoice() {
		return (this.tre_es_choice);
	}

}
